200
How do I arrange my columns on multiple lines

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "HeaderHeight", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "") , "HTMLCaption", "Line 1<br>Line 2");

199
How can I display all cells using HTML format

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`HTML`).Def(17) = 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");

198
How can I display all cells using multiple lines

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`MultipleLine`).Def(16) = False");
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`SingleLine`).Def(16) = True");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`This is a bit of long text that should break the line`),1) = `this is a bit of long text that's displayed on a single line`");

197
How do change the vertical alignment for all cells in the column

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`MultipleLine`).Def(16) = False");
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`VAlign`).Def(6) = 2");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`This is a bit of long text that should break the line`),1) = `bottom`");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`This is a bit of long text that should break the line`),1) = `bottom`");

196
How do change the foreground color for all cells in the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`ForeColor`).Def(5) = 255");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

195
How do change the background color for all cells in the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`BackColor`).Def(4) = 255");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

194
How do I show buttons for all cells in the column

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Button");
	_ObjectCallMethod(list, "TemplatePut", "Dim colObj")
	_ObjectCallMethod(list, "TemplatePut", column)
	_ObjectCallMethod(list, "ExecuteTemplate", "colObj.Def(2) = True");
	_ObjectCallMethod(list, "ExecuteTemplate", "colObj.Def(3) = True");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", " Button 1 ");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", " Button 2 ");

193
How do I show buttons for all cells in the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Button`).Def(2) = True");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

192
How do I display radio buttons for all cells in the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Radio`).Def(1) = True");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

191
How do I display checkboxes for all cells in the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Check`).Def(0) = True");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

190
How can I display a tooltip when the cursor hovers the column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tooltip") , "ToolTip", "This is a bit of text that is shown when user hovers the column.");

189
Is there any function to assign a key to a column instead using its name or capion

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Data") , "Key", "DKey");
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Item(`DKey`).Caption = `new caption`");

188
Is there any function to assign any extra data to a column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Data") , "Data", "your extra data");

187
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Sort") , "DefaultSortOrder", -1);

186
How can I specify the maximum width for the column, if I use WidthAutoResize property

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Auto");
	_ObjectSetProperty( column , "WidthAutoResize", -1);
	_ObjectSetProperty( column , "MinWidthAutoResize", 32);
	_ObjectSetProperty( column , "MaxWidthAutoResize", 128);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

185
How can I specify the minimum width for the column, if I use WidthAutoResize property

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Auto");
	_ObjectSetProperty( column , "WidthAutoResize", -1);
	_ObjectSetProperty( column , "MinWidthAutoResize", 32);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

184
Is there any option to resize the column based on its data, captions

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "A") , "WidthAutoResize", -1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

183
How can I align the icon in the column's header in the center

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( list , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "");
	_ObjectSetProperty( column , "HeaderImage", 1);
	_ObjectSetProperty( column , "HeaderImageAlignment", 1);

182
How do I align the icon in the column's header to the right

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( list , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "ColumnName");
	_ObjectSetProperty( column , "HeaderImage", 1);
	_ObjectSetProperty( column , "HeaderImageAlignment", 2);

181
How do I show or hide the sorting icons, but still need sorting

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Sorted") , "SortOrder", 1);
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Item(0).DisplaySortIcon = False");

180
How do I enable or disable the entire column

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Disabled") , "Enabled", 0);
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(0),1) = `0.1`");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(1),1) = `1.1`");

179
How do I disable drag and drop columns
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "AllowDragging", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "AllowDragging", 0);

178
How do I disable resizing a column at runtime

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Unsizable") , "AllowSizing", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C4");

177
How can I align the column to the right, and its caption too

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "Alignment", 2);
	_ObjectSetProperty( column , "HeaderAlignment", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

176
How can I align the column to the right

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column") , "Alignment", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);

175
How do I change the column's caption

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column") , "Caption", "new caption");

174
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "FormatAnchor(False) = `<b><u><fgcolor=880000> </fgcolor></u></b>`");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CaptionFormat(Add(`Just an <a1>anchor</a> element ...`),0) = 1");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CaptionFormat(Add(`Just another <a2>anchor</a> element ...`),0) = 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "next item");

173
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "FormatAnchor(True) = `<b><u><fgcolor=FF0000> </fgcolor></u></b>`");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CaptionFormat(Add(`Just an <a1>anchor</a> element ...`),0) = 1");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CaptionFormat(Add(`Just another <a2>anchor</a> element ...`),0) = 1");

172
Can I change the font for the tooltip

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipDelay", 1);
_ObjectSetProperty( list , "ToolTipWidth", 364);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>");

171
Can I change the font for the tooltip

OBJECT list,stdfont;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipDelay", 1);
stdfont = _ObjectGetProperty( list , "ToolTipFont");
	_ObjectSetProperty( stdfont , "Name", "Tahoma");
	_ObjectSetProperty( stdfont , "Size", 14);
_ObjectSetProperty( list , "ToolTipWidth", 364);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column");

170
Can I change the order of the buttons in the scroll bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollOrderParts(1) = `t,l,r`");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollOrderParts(0) = `t,l,r`");
_ObjectSetProperty( list , "ScrollBars", 15);

169
The thumb size seems to be very small. Can I make it bigger

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "Width", 256);
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollThumbSize(1) = 64");

168
How can I display my text on the scroll bar, using a different font

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is <s><font Tahoma;12> just </font></s> text`");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( list , "ScrollHeight", 20);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "Width", 256);

167
How can I display my text on the scroll bar, using a different font

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartCaption(1,256) = `This is just a text`");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollFont(1).Size = 12");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( list , "ScrollHeight", 20);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "Width", 256);

166
How can I display my text on the scroll bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartCaption(1,256) = `this is just a text`");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "Width", 256);

165
How do I enlarge or change the size of the control's scrollbars

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ScrollHeight", 18);
_ObjectSetProperty( list , "ScrollWidth", 18);
_ObjectSetProperty( list , "ScrollButtonWidth", 18);
_ObjectSetProperty( list , "ScrollButtonHeight", 18);
_ObjectSetProperty( list , "ScrollBars", 15);

164
How do I assign a tooltip to a scrollbar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollToolTip(1) = `This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar`");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "Width", 256);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "Width", 256);

163
How do I assign an icon to the button in the scrollbar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( list , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `<img>1</img>`");
_ObjectSetProperty( list , "ScrollHeight", 18);
_ObjectSetProperty( list , "ScrollButtonWidth", 18);
_ObjectSetProperty( list , "ScrollBars", 5);

162
I need to add a button in the scroll bar. Is this possible

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartCaption(1,32768) = `1`");
_ObjectSetProperty( list , "ScrollBars", 5);

161
Can I display an additional buttons in the scroll bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,32768) = True");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,16384) = True");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,1) = True");
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPartVisible(1,2) = True");
_ObjectSetProperty( list , "ScrollBars", 5);

160
How can I display a custom size picture to a cell or item

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "DefaultItemHeight", 48);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CellPicture(Add(`Text`),0) = Me.ExecuteTemplate(`loadpicture(`c:\exontrol\images\zipdisk.gif`)`)");

159
How can I display a multiple pictures to a cell or item

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "DefaultItemHeight", 48);
_ObjectCallMethod(list, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`");
_ObjectCallMethod(list, "ExecuteTemplate", "HTMLPicture(`pic2`) = `c:\exontrol\images\auction.gif`");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CaptionFormat(Add(`<img>pic1</img> Text <img>pic2</img> another text ...`),0) = 1");

158
How do I change the column's foreground color for numbers between an interval - Range

OBJECT conditionalformat,items,list;

list =  ObjectByName("AN1") ;
conditionalformat = _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 2 and %0 <= 10");
	_ObjectSetProperty( conditionalformat , "Bold", -1);
	_ObjectSetProperty( conditionalformat , "ForeColor", 255);
	_ObjectSetProperty( conditionalformat , "ApplyTo", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "N1");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "N2");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(1),1) = 2");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(3),1) = 3");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(10),1) = 11");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(13),1) = 31");
_ObjectSetProperty( list , "SearchColumnIndex", 1);

157
How do I change the item's foreground color for numbers between an interval - Range

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 2 and %0 <= 10") , "ForeColor", 255);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

156
How do I change the item's background color for numbers less than a value

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 < 10") , "BackColor", 255);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

155
How do I underline the numbers greater than a value

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 10") , "Underline", -1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

154
How do I highlight in italic the numbers greater than a value

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 10") , "StrikeOut", -1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

153
How do I highlight in italic the numbers greater than a value

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 10") , "Italic", -1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

152
How do I highlight in bold the numbers greater than a value

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "ConditionalFormats") , "Add", "%0 >= 10") , "Bold", -1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Numbers");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 10);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 20);

151
Can I use your EBN files to change the visual appearance for radio buttons

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "RadioImage(0) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "RadioImage(1) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Radio`).Def(1) = True");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod( items , "Add", "Radio 1");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CellState(Add(`Radio 2`),0) = 1");
	_ObjectCallMethod( items , "Add", "Radio 3");

150
Can I use your EBN files to change the visual appearance for checkbox cells

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "CheckImage(0) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "CheckImage(1) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Check`).Def(0) = True");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod( items , "Add", "Check 1");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.CellState(Add(`Check 2`),0) = 1");

149
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(388) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(389) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(391) = 50331648");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(260) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(261) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(263) = 50331648");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( list , "ScrollBySingleLine", -1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 483);
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.ItemHeight(Add(`Item 1`)) = 248");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 2");

148
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(388) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(389) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(391) = 50331648");
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 483);

147
I've seen that you can change the visual appearance for the scroll bar. How can I do that

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 3,"c:\exontrol\images\hot.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(324) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(325) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(327) = 50331648");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(404) = 15790320");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(276) = 15790320");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(511) = 15790320");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E1") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E2") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E3") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E4") , "Width", 32);
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( list , "ScrollBars", 15);

146
Is there any option to highligth the column from the cursor - point

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(32) = 16777216");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E1") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E2") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E3") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E4") , "Width", 32);

145
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(20) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(21) = 1316095");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Filter") , "DisplayFilterButton", -1);

144
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(8) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(9) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(10) = 33554432");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(11) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(12) = 15132390");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(13) = 15132390");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(14) = 16777216");
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Date");
	_ObjectSetProperty( column , "FilterType", 4);
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "DisplayFilterDate", -1);

143
How do I change the visual aspect of the close button in the filter bar, using EBN

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(1) = 16777216");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Filter") , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

142
How do I change the visual aspect of buttons in the cell, using EBN

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(2) = 16777216");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(3) = 33554432");
_ObjectSetProperty( list , "SelForeColor", 0);
_ObjectSetProperty( list , "ShowFocusRect", 0);
_ObjectCallMethod(list, "ExecuteTemplate", "Columns.Add(`Column 1`).Def(2) = True");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Button 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Button 2");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column 2");

141
How do I change the visual aspect of the drop down filter button, using EBN

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(list, "ExecuteTemplate", "Background(0) = 16777216");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Filter") , "DisplayFilterButton", -1);

140
How do I enable resizing the columns at runtime

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ColumnsAllowSizing", -1);
_ObjectSetProperty( list , "MarkSearchColumn", 0);
_ObjectSetProperty( list , "HeaderVisible", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column 2");
_ObjectSetProperty( list , "DrawGridLines", 2);
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`Item 1`),1) = `Sub Item 1`");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`Item 2`),1) = `Sub Item 2`");

139
How can I sort by multiple columns

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SingleSort", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "SortOrder", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "SortOrder", 2);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C3") , "SortOrder", 1);

138
How can I add several columns to control's sort bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "SortBarColumnWidth", 48);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "SortOrder", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "SortOrder", 2);

137
How can I change the width of the columns being displayed in the sort bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "SortBarColumnWidth", 48);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C1") , "SortOrder", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "C2") , "SortOrder", 2);

136
How can I change the height of the sort bar's

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "SortBarHeight", 48);

135
How can I change the sort bar's foreground color

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "ForeColorSortBar", 255);

134
How can I change the visual appearance of the control's sort bar, using EBN files

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 2,"c:\exontrol\images\pushed.ebn");
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "BackColorSortBar", 16777216);
_ObjectSetProperty( list , "BackColorSortBarCaption", 33554432);
_ObjectSetProperty( list , "Appearance", 0);

133
How can I change the sort bar's background color

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "BackColorSortBar", 255);
_ObjectSetProperty( list , "BackColorSortBarCaption", 128);

132
How can I change the default caption being displayed in the control's sort bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);
_ObjectSetProperty( list , "SortBarCaption", "new caption");

131
How can I show the control's sort bar

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "SortBarVisible", -1);

130
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "PictureLevelHeader", _ObjectCallMethod( list , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\colorize.gif`)"));
_ObjectSetProperty( list , "PictureDisplayLevelHeader", 49);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E1") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E2") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E3") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E4") , "Width", 32);

129
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "PictureLevelHeader", _ObjectCallMethod( list , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\colorize.gif`)"));
_ObjectSetProperty( list , "PictureDisplayLevelHeader", 18);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "E") , "Width", 32);

128
How can I display a picture on the control's header, when multiple levels are displayed

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "PictureLevelHeader", _ObjectCallMethod( list , "ExecuteTemplate", "loadpicture(`c:\exontrol\images\zipdisk.gif`)"));
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);

127
How can I change the header's background color, when multiple levels are displayed
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "BackColorLevelHeader", 250);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "S") , "Width", 32);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 1") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 2") , "LevelKey", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Level 3") , "LevelKey", 1);

126
Can I programmatically scroll the control

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "DefaultItemHeight", 32);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 3);
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));
_ObjectCallMethod(list, "ExecuteTemplate", "ScrollPos(True) = 1");

125
Do you have some function to load data from a safe array
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));

124
Do you have some function to retrieve all items to a safe array
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 0);
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 1);
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 2);
_ObjectCallMethod( list , "PutItems", _ObjectCallMethod( list , "GetItems", 0));
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", 3);

123
How can still display the selected items when the control loses the focus

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "HideSelection", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod( items , "Add", "Item 3");
	_ObjectCallMethod( items , "Add", "Item 1");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.SelectItem(Add(`Item 2`)) = True");

122
How can I hide a column

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Hidden") , "Visible", 0);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "2");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "3");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "4");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "5");

121
How can I ensure that a column is visible and fits the control's client area
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ColumnAutoResize", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "1") , "Width", 128);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "2") , "Width", 128);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "3") , "Width", 128);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "4") , "Width", 128);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "5") , "Width", 128);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "EnsureVisibleColumn", "5");

120
I've seen that the width of the tooltip is variable. Can I make it larger

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipWidth", 328);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip that should be very very very very very very very long");

119
How do I disable showing the tooltip for all control
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipDelay", 0);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column");

118
How do I let the tooltip being displayed longer

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipPopDelay", 10000);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column");

117
How do I show the tooltip quicker
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ToolTipDelay", 1);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "tootip") , "ToolTip", "this is a tooltip assigned to a column");

116
How do I change the caption being displayed in the control's filter bar

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "FilterBarCaption", "your filter caption");
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

115
How do I search case sensitive, using your incremental search feature

OBJECT columns,items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "AutoSearch", -1);
columns = _ObjectGetProperty( list , "Columns");
	_ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exStartWith") , "AutoSearch", 0);
	_ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exContains") , "AutoSearch", 1);
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`text`),1) = `another text`");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`text`),1) = `another text`");

114
How do I disable the control
OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "Enabled", 0);

113
How do I enable the incremental search feature within a column

OBJECT columns,items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "AutoSearch", -1);
columns = _ObjectGetProperty( list , "Columns");
	_ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exStartWith") , "AutoSearch", 0);
	_ObjectSetProperty( _ObjectCallMethod( columns , "Add", "exContains") , "AutoSearch", 1);
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(list, "TemplatePut", items)
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`text`),1) = `another text`");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod(list, "ExecuteTemplate", "iteObj.Caption(Add(`text`),1) = `another text`");

112
How do I call your x-script language

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( list , "ExecuteTemplate", "Columns.Add(`Column`)");
	_ObjectSetProperty( column , "HeaderStrikeOut", -1);
	_ObjectSetProperty( column , "HeaderBold", -1);

111
How do I call your x-script language

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "Template", "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`");

110
How do I show alternate rows in different background color

OBJECT items,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "BackColorAlternate", 15790320);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
items = _ObjectGetProperty( list , "Items");
	_ObjectCallMethod( items , "Add", "Item 1");
	_ObjectCallMethod( items , "Add", "Item 2");
	_ObjectCallMethod( items , "Add", "Item 3");
	_ObjectCallMethod( items , "Add", "Item 4");
	_ObjectCallMethod( items , "Add", "Item 5");

109
How do I enlarge the drop down filter window

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "FilterBarDropDownHeight", -320);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterBarDropDownWidth", -320);
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 2");

108
How do I filter programatically the control

OBJECT column,list;

list =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 3);
	_ObjectSetProperty( column , "Filter", "Item*");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 2");
_ObjectCallMethod( list , "ApplyFilter");

107
How do I change the font of the control's filterbar

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( list , "FilterBarFont") , "Size", 20);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

106
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( list , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectSetProperty( list , "FilterBarBackColor", 16777216);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

105
How do I change the background color of the control's filterbar

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "FilterBarBackColor", 15790320);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

104
How do I change the foreground color of the control's filterbar

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "FilterBarForeColor", 255);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

103
How do I change the height of the control's filterbar

OBJECT column,list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "FilterBarHeight", 32);
column = _ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( list , "ApplyFilter");

102
How do select only a portion of text when the control starts editing a cell

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "AllowEdit", -1);
_ObjectSetProperty( list , "SelStart", 1);
_ObjectSetProperty( list , "SelLength", 1);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 2");

101
How do I change the header's foreground color

OBJECT list;

list =  ObjectByName("AN1") ;
_ObjectSetProperty( list , "ForeColorHeader", 255);
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column 1");
_ObjectCallMethod( _ObjectGetProperty( list , "Columns") , "Add", "Column 2");
_ObjectCallMethod( _ObjectGetProperty( list , "Items") , "Add", "Item 1");